package com.leruan.aasimp.service;

import java.util.List;

import com.leruan.aasimp.entity.CarInsuranceCom;
import com.leruan.aasimp.entity.CarMainInfo;
import com.leruan.aasimp.entity.Eauser;

public interface EauserService {
	
	void addEauser(Eauser eauser);

	void updateEauser(Eauser eauser);
	
	Eauser getEauserByUn(String username);

	Eauser getEauserByUid(String userid);

	List<Eauser> getEausersByType(int value);

	List<CarMainInfo> getCarManagesByUc(String usercard);

	CarMainInfo getCarManagesByVin(String vin);

	void updatecarManage(CarMainInfo carMainInfo);

	void saveCom(CarInsuranceCom com);

	CarInsuranceCom getComById(Long idCompany);

	void updateCom(CarInsuranceCom com);

	void destroyEauser(String userid);

	List<Eauser> getEausersByTypeAndId(int i, Long idCompany);

}
